package com.smile.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smile.model.domain.SmilePlusMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<SmilePlusMenu> {
    List<SmilePlusMenu> selectMenuByRoleIds(@Param("userId") Long userId);

    List<Integer> getModules(@Param("userId") Long userId);
}
